package com.rongshu.view.userInfo.entity;

import android.text.TextUtils;

import com.rongshu.view.submitArticle.bean.LabelBean;

import java.io.Serializable;
import java.util.List;

public class EnshrineInfo implements Serializable {

    /**
     * Total : 0
     * ErrCode : 0
     * ErrMsg :
     * Response : [{"contribute_id":6,"topImg":null,"title":"远处的水变成了天","contents_header":"到了梁山之后，李俊看上去得了抑郁症，越来越喜欢在水里待着，并且不断做着从高处落下的动作，当然他只是沉到了水里而已。 他原本就是水","categories":"奇幻","keywordList":[{"id":168,"title":"武侠"},{"id":168,"title":"武侠"}]},{"contribute_id":5,"topImg":null,"title":"时迁胖了五十斤","contents_header":"一天大雪，没有战事，兄弟们挤在屋子里烤火喝酒。外面实在太冷，好些人不断地往火里挤，往火焰上凑，看样子恨不得把自己烧掉取暖。在挤的过","categories":"奇幻","keywordList":[{"id":168,"title":"武侠"}]},{"contribute_id":3,"topImg":null,"title":"宁海路（上）","contents_header":"宁海路是南京幽长的一条林荫道，民国时代的一幢幢小楼藏在树阴拐弯末角的深处，即使白天最热闹的钟点，也不会有多少走动的身影，而绕过一条","categories":"家庭","keywordList":[{"id":18,"title":"三代"},{"id":19,"title":"代沟"}]},{"contribute_id":110,"topImg":null,"title":"《间谍之桥》之三重阿贝尔","contents_header":"第88届奥斯卡获奖名单上《间谍之桥》仅获得一席之位，最佳男配角：马克·里朗斯。而在颁奖典礼之后的合影中，李奥纳多风头正劲，被最佳女","categories":"评论","keywordList":[{"id":61,"title":"影评"},{"id":69,"title":"短评"}]},{"contribute_id":58,"topImg":null,"title":"好久不见，我们回来了","contents_header":"我们，诞生于二十年前， 在中文互联网世界中是创始级成员。 二十年前，我们栽下一棵树， 架起了文字和互联网的桥梁， 开启了一个新的时","categories":"随笔","keywordList":[{"id":93,"title":"叙事"},{"id":96,"title":"感悟"},{"id":97,"title":"生活"},{"id":98,"title":"情感"}]},{"contribute_id":339,"topImg":null,"title":"啊啊","contents_header":"啊啊啊 啊啊啊 ","categories":null,"keywordList":[]},{"contribute_id":10,"topImg":null,"title":"尼丘山之子","contents_header":"鲁国都城曲阜东南十余里处，有座不高不矮的山，叫做尼丘山。尼丘山山脚下，有个不大不小的村落，名为陬（zōu）邑。这原本是个无名的山庄","categories":"随笔","keywordList":[{"id":94,"title":"逸史"},{"id":100,"title":"见闻"},{"id":101,"title":"读书"}]},{"contribute_id":112,"topImg":null,"title":"戛纳70年华诞，除了范冰冰我们还有什么谈资？","contents_header":"戛纳国际电影节与威尼斯国际电影节、柏林国际电影节并称为欧洲三大顶尖国际电影节，2017年迎来70周年华诞。犹记此前颁奖典礼上热门高","categories":"评论","keywordList":[{"id":68,"title":"毒舌"},{"id":69,"title":"短评"}]},{"contribute_id":316,"topImg":null,"title":"请求","contents_header":"   钱钱钱             安安安   ","categories":"爱情","keywordList":[]},{"contribute_id":343,"topImg":null,"title":"嗷嗷","contents_header":"                        啊啊啊 啊啊啊 ","categories":"爱情","keywordList":[]}]
     */

    private int Total;
    private int ErrCode;
    private String ErrMsg;
    private List<ResponseBean> Response;

    public int getTotal() {
        return Total;
    }

    public void setTotal(int Total) {
        this.Total = Total;
    }

    public int getErrCode() {
        return ErrCode;
    }

    public void setErrCode(int ErrCode) {
        this.ErrCode = ErrCode;
    }

    public String getErrMsg() {
        return ErrMsg;
    }

    public void setErrMsg(String ErrMsg) {
        this.ErrMsg = ErrMsg;
    }

    public List<ResponseBean> getResponse() {
        return Response;
    }

    public void setResponse(List<ResponseBean> Response) {
        this.Response = Response;
    }

    public static class ResponseBean implements Serializable {
        /**
         * contribute_id : 6
         * topImg : null
         * title : 远处的水变成了天
         * contents_header : 到了梁山之后，李俊看上去得了抑郁症，越来越喜欢在水里待着，并且不断做着从高处落下的动作，当然他只是沉到了水里而已。 他原本就是水
         * categories : 奇幻
         * keywordList : [{"id":168,"title":"武侠"},{"id":168,"title":"武侠"}]
         */

        private int contribute_id;
        private String topImg;
        private String bi_name;
        private String title;
        private String contents_header;
        private String categories;
        private List<LabelBean> keywordList;

        public int getContribute_id() {
            return contribute_id;
        }

        public void setContribute_id(int contribute_id) {
            this.contribute_id = contribute_id;
        }

        public String getTopImg() {
            return topImg;
        }

        public void setTopImg(String topImg) {
            this.topImg = topImg;
        }

        public String getBi_name() {
            return TextUtils.isEmpty(bi_name) ? "null" : bi_name;
        }

        public void setBi_name(String bi_name) {
            this.bi_name = bi_name;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContents_header() {
            return contents_header;
        }

        public void setContents_header(String contents_header) {
            this.contents_header = contents_header;
        }

        public String getCategories() {
            return categories;
        }

        public void setCategories(String categories) {
            this.categories = categories;
        }

        public List<LabelBean> getKeywordList() {
            return keywordList;
        }

        public void setKeywordList(List<LabelBean> keywordList) {
            this.keywordList = keywordList;
        }

        public static class KeywordListBean implements Serializable {
            /**
             * id : 168
             * title : 武侠
             */

            private int id;
            private String title;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }
    }
}
